﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="/HR_SYSTEM/Styles/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/HR_SYSTEM/Styles/admin-all.css" />
    <script type="text/javascript" src="/HR_SYSTEM/Scripts/jquery-1.7.2.js"></script>
    <script type="text/javascript" src="/HR_SYSTEM/Scripts/jquery-ui-1.8.22.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/HR_SYSTEM/Styles/ui-lightness/jquery-ui-1.8.22.custom.css" />
    <script type="text/javascript" src="/HR_SYSTEM/Scripts/tip.js"></script>
    <script type="text/javascript">
	    function updateSalary(){
    		document.forms["form_add"].submit();
    	}
    </script>
</head>
<body>
    <div></div>
    <div class="alert alert-info">当前位置<b class="tip"></b>管理界面<b class="tip"></b>修改员工基本工资</div>
    <form action="<c:url value='/SalaryServlet'/>" name="form_add" method="post">
     <input type="hidden" name="method" value="updateSalaryBasic"/>
     <table class="table table-striped table-bordered table-condensed">
     	<c:forEach items="education_list" var="education">
     	<tr>
            <td>工资编号:</td>
            <td>${salary.salary_id}</td>
            <input type="hidden" name="salary_id" value="${salary.salary_id}"/>
        </tr>
        <tr>
        	<td>员工名称：</td>
        	<td>${user.username}</td>
        	<input type="hidden" name="user_id" value="${user.user_id}"/>
        </tr>
        <tr>
            <td>年份:</td>
            <td>${salary.year}</td>
            <input type="hidden" name="year" value="${salary.year}"/>
 		</tr>
 		<tr>
            <td>月份:</td>
            <td>${salary.month}</td>
            <input type="hidden" name="month" value="${salary.month}"/>
 		</tr>
 		<tr>
            <td>基础工资:</td>
            <td>
				<input type="text" name="salary_basic" value="${salary.salary_basic}"/>
			</td>
 		</tr>
 		 <tr>
            <td colspan="2">
                <input class="btn btn-inverse" id="button" type="button" onClick="updateSalary()" value="确认修改本基础工资" />&nbsp;
                <input class="btn btn-inverse" type="reset" value="清空" />&nbsp;
            </td>
        </tr>
     	</c:forEach>
 	</table>
    </form>
</body>
</html>
